<?php

use Faker\Generator as Faker;
//InvalidArgumentException with message 'Unable to locate factory with name [default] [App/Demo]
$factory->define(App\Demo::class, function (Faker $faker) {
    return [
        'username' => $faker->name,
        'uuid' => $faker->uuid(36),
        "created_at"=>\Carbon\Carbon::now()->format('Y-m-d H:i:s'),
        "updated_at"=>\Carbon\Carbon::now()->format('Y-m-d H:i:s')
    ];
});
